package com.nlp.server.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

/**
 * 会话记录实体类
 * @author shiliuyinzhen
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessage extends ChatBaseMessage {

    /** 会话消息id */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 会话id */
    private Long chatId;

    /** 删除标志 */
    private Integer delFlag;

    /** 花费时间 */
    private Double costTime;
}
